package com.windoent.yugioh.bean;

import java.util.List;

/**
 * author : robert
 * date   : 2021/6/30 17:55
 * desc   :
 */
public class AuthPlayerData {
    /**
     * code : 200
     * data : {"count":2,"limit":10,"page":1,"res":[{"id":21,"uid":4,"playerViewId":1002025,"avatar":"https://yugioh-1258002530.cos.ap-shanghai.myqcloud.com/Android/1624608293252yingdie_crop_20210625160451.png","nickname":"映蝶1"},{"id":4,"uid":17,"playerViewId":1002038,"avatar":"http://yugioh-1258002530.cos.ap-shanghai.myqcloud.com/wxFile/bNhEr4D8NYP8c4aa08a59c316aa237b3503917455962.png","nickname":"我是选手"}]}
     * msg : 查询成功
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * count : 2
         * limit : 10
         * page : 1
         * res : [{"id":21,"uid":4,"playerViewId":1002025,"avatar":"https://yugioh-1258002530.cos.ap-shanghai.myqcloud.com/Android/1624608293252yingdie_crop_20210625160451.png","nickname":"映蝶1"},{"id":4,"uid":17,"playerViewId":1002038,"avatar":"http://yugioh-1258002530.cos.ap-shanghai.myqcloud.com/wxFile/bNhEr4D8NYP8c4aa08a59c316aa237b3503917455962.png","nickname":"我是选手"}]
         */

        private int count;
        private int limit;
        private int page;
        private int status;
        private List<ResBean> res;

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public int getLimit() {
            return limit;
        }

        public void setLimit(int limit) {
            this.limit = limit;
        }

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public List<ResBean> getRes() {
            return res;
        }

        public void setRes(List<ResBean> res) {
            this.res = res;
        }

        public static class ResBean {
            /**
             * id : 21
             * uid : 4
             * playerViewId : 1002025
             * avatar : https://yugioh-1258002530.cos.ap-shanghai.myqcloud.com/Android/1624608293252yingdie_crop_20210625160451.png
             * nickname : 映蝶1
             */

            private int id;
            private int uid;
            private int playerViewId;
            private String avatar;
            private String nickname;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public int getPlayerViewId() {
                return playerViewId;
            }

            public void setPlayerViewId(int playerViewId) {
                this.playerViewId = playerViewId;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }
        }
    }
}
